package com.stormrage.entity.learn.rep;

import java.io.Serializable;
import java.util.Date;

public class LeaMajorStudyRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = 498023398914676474L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private Integer termId;

	private String major;

	private Integer module;

	private Date studyDateStart;

	private Date studyDateEnd;

	private Date examDateStart;

	private Date examDateEnd;

	private String progress;

	private Integer examScore;

	private Integer operScore;

	private Integer usuaScore;

	private Integer examPerc;

	private Integer operPerc;

	private Integer usuaPerc;

	private Integer total;
	
	private Integer locked;

	// ------------------------------- Fields -------------------------------

	public LeaMajorStudyRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTermId() {
		return termId;
	}

	public void setTermId(Integer termId) {
		this.termId = termId;
	}

	public String getMajor() {
		return major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public Integer getModule() {
		return module;
	}

	public void setModule(Integer module) {
		this.module = module;
	}

	public Date getStudyDateStart() {
		return studyDateStart;
	}

	public void setStudyDateStart(Date studyDateStart) {
		this.studyDateStart = studyDateStart;
	}

	public Date getStudyDateEnd() {
		return studyDateEnd;
	}

	public void setStudyDateEnd(Date studyDateEnd) {
		this.studyDateEnd = studyDateEnd;
	}

	public Date getExamDateStart() {
		return examDateStart;
	}

	public void setExamDateStart(Date examDateStart) {
		this.examDateStart = examDateStart;
	}

	public Date getExamDateEnd() {
		return examDateEnd;
	}

	public void setExamDateEnd(Date examDateEnd) {
		this.examDateEnd = examDateEnd;
	}

	public String getProgress() {
		return progress;
	}

	public void setProgress(String progress) {
		this.progress = progress;
	}

	public Integer getExamScore() {
		return examScore;
	}

	public void setExamScore(Integer examScore) {
		this.examScore = examScore;
	}

	public Integer getOperScore() {
		return operScore;
	}

	public void setOperScore(Integer operScore) {
		this.operScore = operScore;
	}

	public Integer getUsuaScore() {
		return usuaScore;
	}

	public void setUsuaScore(Integer usuaScore) {
		this.usuaScore = usuaScore;
	}

	public Integer getExamPerc() {
		return examPerc;
	}

	public void setExamPerc(Integer examPerc) {
		this.examPerc = examPerc;
	}

	public Integer getOperPerc() {
		return operPerc;
	}

	public void setOperPerc(Integer operPerc) {
		this.operPerc = operPerc;
	}

	public Integer getUsuaPerc() {
		return usuaPerc;
	}

	public void setUsuaPerc(Integer usuaPerc) {
		this.usuaPerc = usuaPerc;
	}

	public Integer getTotal() {
		return total;
	}

	public void setTotal(Integer total) {
		this.total = total;
	}

	public Integer getLocked() {
		return locked;
	}

	public void setLocked(Integer locked) {
		this.locked = locked;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaMajorStudyRep instance(LeaMajorStudyRep entity, Integer seq) {
		entity.setSeq(seq);
		return entity;
	}

	public static LeaMajorStudyRep instance(LeaMajorStudyRep entity, Integer seq, Integer examScore, Integer operScore,
			Integer usuaScore, Integer examPerc, Integer operPerc, Integer usuaPerc, Integer total) {
		entity.setSeq(seq);
		entity.setExamScore(examScore);
		entity.setOperScore(operScore);
		entity.setUsuaScore(usuaScore);
		entity.setExamPerc(examPerc);
		entity.setOperPerc(operPerc);
		entity.setUsuaPerc(usuaPerc);
		entity.setTotal(total);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : seq - " + seq + " id - " + id + " major - " + major + " module - " + module
				+ " studyDateStart - " + studyDateStart + " studyDateEnd - " + studyDateEnd + " examDateStart - "
				+ examDateStart + " examDateEnd - " + examDateEnd + " progress - " + progress;
	}

}
